package com.wanmait.wisdom.manage.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.wisdom.entity.Parking;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface ParkingService {
 List<Parking> selectListIndex();
 PageInfo<Parking>selectListSelect(Parking parking, Date beginTime, Date endTime,int pageNum,int pageSize,String order);
 PageInfo<Parking> selectListBlack(Parking parking, Date beginTime, Date endTime, int pageNum, int pageSize);
 //审核通过与否
 Boolean auditYes(int id);
 List<Parking> findByParking(int id);
 PageInfo<Parking>selectListByUserId(int id,int pageNum,int pageSize);
 int count(int id);
 //查找
 PageInfo<Parking>selectListAudit(Parking parking,Date beginTime,Date endTime,int pageNum,int pageSize);
 Boolean hits(int id);

PageInfo<Parking>findAll( Parking parking,Date beginTime, Date endTime,int pageNum,int pageSize);
Boolean update(Parking parking);
Parking findById(int id);
Parking findAll(int id);
Boolean insert(Parking parking);
Boolean insertNew(Parking parking);
}
